package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel("修改预计服务时间DTO")
public class UpdateEstimatedTimeDto {
    
    @ApiModelProperty(value = "执行时间", required = true, example = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date estimatedServerTime;
    
    @ApiModelProperty(value = "护理任务ID", required = true)
    private Long taskId;
}
